package com.youdoneed.user.application;

import java.util.regex.Pattern;

/**
 * 统一全局配置。
 *
 * @author Ewing
 */
public final class AppConfig {

    // 统一日期时间格式
    public static final String TIMEZONE = "GMT+8";
    public static final String DATE_FORMAT = "yyyy-MM-dd";

    public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

    // 电话号码正则表达式
    public static final Pattern PHONE_NO_PATTERN = Pattern.compile("\\d{5,20}");

}
